<?php
class Apps_View_Helper_LabelSupportType extends Apps_View_Helper_LabelBase {
    public $map = array(
        M_DbTable_Support::TYPE_YAHOO   => array('Yahoo', 'label-success'),
        M_DbTable_Support::TYPE_SKYPE	=> array('Skype', 'label-warning'),
        M_DbTable_Support::TYPE_PHONE   => array('Phone', 'label-info'),
    );

    public function labelSupportType($type, $label=true) {
        return $this->map($type, $label);
    }
}
